<!DOCTYPE html>
<html>
  <head>
    <title>form edit</title>
    <link href="css/bootstrap/css/bootstrap.css?2023" rel="stylesheet" type="text/css" />
  </head>
  <body>

<div class="container">

<div class="row">
    <ol class="breadcrumb">
        <li><a href="/fd">表单设计器</a> <span class="divider">/</span></li>
        <li><a href="/fd/forms">实例</a> <span class="divider">/</span></li>
        <li class="active">
        	<% if(form.id) { %>
				编辑
			<% } else { %>
				添加
			<% } %>
        </li>
    </ol>
</div>

<div class="row">
<form action="/fd/form_edit" method="post">
<input type="hidden" value="<%= form.id %>" name="id">
<p>
    <label>表单名称</label>
    <input type="text" class="span6" placeholder="必填项" name="form_name" value="<%= form.form_name %>">
</p>
<p>
    <label>表单描述</label>
    <textarea rows="4" class="span6" placeholder="简单描述一下也好呀" name="form_desc"><%= form.form_desc %></textarea>
</p>
<button type="submit" name="submit_to_save" value="save" class="btn btn-success">确定保存</button>
</form>


</div><!--end row-->
</div><!--end container-->

</body>
</html>